import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)

 const routes = [
   {
     path: '/', component: () => import('../components/a.vue'), 
     meta: { title: 'hello!'},
   },
   {
     path: '*', redirect: '/element-table'
   },
   {
     path: '/element-table', component: () => import('../components/element-table.vue')
   },
   {
    path: '/element-a', component: () => import('../components/element-a.vue')
  },
  {
    path: '/element-b', component: () => import('../components/element-b.vue')
  },
  {
    path: '/element-ab', component: () => import('../components/element-ab.vue')
  },
  {
    path: '/tablesetting', component: () => import('../components/tablesetting.vue')
  },
  {
    path: '/element-check', component: () => import('../components/element-check')
  },
  {
    path: '/element-table-tabs', component: () => import('../components/element-table-tabs')
  },
  {
    path: '/tablelist', component: () => import('../components/tablelist')
  },
  {
    path: '/sass', component: () => import('../components/sass/sass')
  }
 ]

const router = new Router({
  routes,
  mode: 'hash'
})
export default router
